import Base from '../../static/js/base'
class Recharge extends Base{
	constructor() {
		super();
	}
	// 获取充值模板列表
	get_recharge_list(callBack) {
		var that = this;
		var params = {
		  url: 'recharge/get_recharge_list',
		  sCallBack: function (res) {
			callBack && callBack(res.data);
		  }
		};
		that.request(params);
	};
	// 我的信息
	my(callBack) {
		var that = this;
		var params = {
		  url: 'login/my',
		  method:'POST',
		  sCallBack: function (res) {
			callBack && callBack(res.data);
		  }
		};
		that.request(params);
	};
	// 获取商城配置信息
	config_info(callBack) {
		var that = this;
		var params = {
		  url: 'config/info',
		  sCallBack: function (res) {
			callBack && callBack(res.data);
		  }
		};
		that.request(params);
	};
}
export default Recharge	